﻿<%@ Page Title="New Post" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" 
         CodeBehind="NewPost.aspx.cs" Inherits="MyBlog.NewPost" %>

<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
    <hgroup class="title">
        <h1><%: Title %></h1>
    </hgroup>



    <article>
        <div class="form">
        <table>
            <tr>
                <td>Author: </td>
                <td class="fieldCell">
                    <asp:TextBox ID="TextBoxAuthor" runat="server" ReadOnly="false" OnTextChanged="TextBox1_TextChanged"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>Title: </td>
                <td class="fieldCell">
                    <asp:TextBox ID="TextBoxTitle" runat="server" OnTextChanged="TextBox1_TextChanged"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>Message:</td>
                <td class="fieldCell">
                    <asp:TextBox ID="TextBoxMessage" runat="server" Height="66px" TextMode="MultiLine"></asp:TextBox>
            </tr>
            <tr>
                <td colspan= 2>

                    <asp:Button ID="ButtonSubmitPost" runat="server" Text="Post" OnClick="ButtonSubmitPost_Click" />

                </td>
            </tr>
            </table>
            </div>
    </article>
</asp:Content>
